package com.xiaoming.project.core;

public class InterFaceTest {

    static void testCanReturnClassName() {
        TestInterFace testInterFace = new TestClass();
        System.out.println(testInterFace.getClass().getName());
    }

    interface TestInterFace {

        void doSomeThing();

    }

    static class TestClass implements TestInterFace {

        @Override
        public void doSomeThing() {
            System.out.println("XXXX");
        }

    }

}